Skip to main content

Field Validation

Input validation is the process of examining inputs and removing those that are considered improper. When users engage with websites or apps, they frequently provide input, such as filling out forms, entering email id, or providing payment information.

Storefront

Module NameField NameField TypeMinimum ValueMaximum ValueFormat Allowed
Sign UpFull NameText124Alphanumeric
EmailText5320Alphanumeric, Special Characters
PasswordPassword1264Alphanumeric, Special Characters
MobileNumber1010Number
LoginEmailText5320Format: yourname@example.com
PasswordPassword1264Alphanumeric, Special Characters
MobileNumber110Number
Forgot PasswordUsername/EmailText3320Alphanumeric
Change PasswordPasswordPassword1264Password must contain minimum of 12 characters and include at least one uppercase letter, one lowercase letter, one number, and one special character.
SearchSearch Product nameText1NAAlphanumeric, Special Characters
AddressCustomer NameText124Alphabets
House NumberText110Alphanumeric, Special Characters
StreetText180Alphanumeric, Special Characters
CityText160Alphabets
LocalityText130Alphanumeric
Phone NumberText1010Numbers
Zip CodeText68Alphanumeric
PaymentCard NumberText1616Numbers
ExpirationText44Numbers
CVCText44Numbers
Customer questions & answersPost QuestionText1150Alphanumeric, Special Characters
Post AnswerText1150Alphanumeric, Special Characters
Search for frequently asked questionsText1150Alphanumeric, Special Characters
Product ReviewTitle Your ReviewText1200Alphanumeric, Special Characters
Write Your ReviewText1500Alphanumeric, Special Characters
note

There should not be any validations for current password field, except correct/valid data entry.